import { ActionType } from "../types/user";

// 异步请求模块
export function setTokenAction(token: string) {
  return {
    type: ActionType['SET_TOKEN'],
    payload: token
  }
}